package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：热门回收表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Hotrecycle implements Serializable {

   /**热门回收ID*/
    private Integer hotRecycleId;
   /**商品ID*/
    private Integer productId;
   /**商品名称*/
    private String productName;
   /**平均回收价格*/
    private Double averagePrice;
   /**回收次数*/
    private Integer recycleCount;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;
    /**一级分类ID*/
    private Integer oneCategoryId;
    /**二级分类ID*/
    private Integer twoCategoryId;
    /**商品图片路径*/
    private String productPicPath;

    public Hotrecycle(){}
    
    public Hotrecycle(Integer hotRecycleId,Integer productId,String productName,Double averagePrice,Integer recycleCount,Date modifiedTime,String other1,String other2){
        this.hotRecycleId = hotRecycleId;
        this.productId = productId;
        this.productName = productName;
        this.averagePrice = averagePrice;
        this.recycleCount = recycleCount;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取热门回收ID属性的值*/
    public Integer getHotRecycleId() {
        return this.hotRecycleId;
    }
   /**设置热门回收ID属性的值*/
    public void setHotRecycleId(Integer hotRecycleId) {
        this.hotRecycleId = hotRecycleId;
    }
   /**获取商品ID属性的值*/
    public Integer getProductId() {
        return this.productId;
    }
   /**设置商品ID属性的值*/
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
   /**获取商品名称属性的值*/
    public String getProductName() {
        return this.productName;
    }
   /**设置商品名称属性的值*/
    public void setProductName(String productName) {
        this.productName = productName;
    }
   /**获取平均回收价格属性的值*/
    public Double getAveragePrice() {
        return this.averagePrice;
    }
   /**设置平均回收价格属性的值*/
    public void setAveragePrice(Double averagePrice) {
        this.averagePrice = averagePrice;
    }
   /**获取回收次数属性的值*/
    public Integer getRecycleCount() {
        return this.recycleCount;
    }
   /**设置回收次数属性的值*/
    public void setRecycleCount(Integer recycleCount) {
        this.recycleCount = recycleCount;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }

    public Integer getOneCategoryId() {
        return oneCategoryId;
    }

    public void setOneCategoryId(Integer oneCategoryId) {
        this.oneCategoryId = oneCategoryId;
    }

    public Integer getTwoCategoryId() {
        return twoCategoryId;
    }

    public void setTwoCategoryId(Integer twoCategoryId) {
        this.twoCategoryId = twoCategoryId;
    }

    public String getProductPicPath() {
        return productPicPath;
    }

    public void setProductPicPath(String productPicPath) {
        this.productPicPath = productPicPath;
    }
}
